package edu.nf.ch02.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wangl
 * @date 2025/4/17
 */
@Data
public class User {
    private Integer uid;
    private String username;
    private String password;
    /**
     * 一对多关联电话
     */
    private List<Phone> phones = new ArrayList<>();
}